<template>
  <h2>兑换劵列表展示</h2>
  <ShowCommBill v-slot="info">
    <button @click="DeleteBill(info.id)">删除</button>
  </ShowCommBill>
</template>

<script setup lang="ts">
import ShowCommBill from './ShowCommBillView.vue'
import { ref, onMounted } from "vue";
import axios from "axios";

const DeleteBill = (bid: number) => {
  alert(bid);
};
</script>

<style scoped>
</style>